package com.yb.xczx.cloud.content.controller;

import com.yb.core.model.XczxResult;
import com.yb.xczx.cloud.content.client.console.XczxContentConsoleClient;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * Copyright (C), 2022-2023, 姚兵
 * Author: 32210
 * Date: 2023/5/12 18:39
 * FileName: TestController
 * Description:
 */

@RestController
public class TestController {

    @Autowired
    XczxContentConsoleClient contentConsoleClient;

    @RequestMapping("test")
    public XczxResult test(){
        return contentConsoleClient.list("",1);
    }

}
